/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.core.impl;

import com.comac.ins.isfd.domain.vo.MaterialCountObjectVo;
import com.comac.ins.isfd.core.IMaterialGetService;
import com.comac.ins.isfd.domain.IsfdMetadata;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author zb
 * @version v1.0
 * @className MaterialGetFromOssService
 * @description 从oss获取材料数据实现类
 * @date 2024/6/14 10:45
 **/
@Service("oss")
public class MaterialGetFromOssService implements IMaterialGetService {

    /**
     * 生成树形结构
     * @param isfdMetadata
     * @return
     */
    @Override
    public List<Map<String, Object>> generateTreeNode(IsfdMetadata isfdMetadata, Boolean detail) {
        return new ArrayList<>();
    }

    /**
     * 获取树形结构节点详情
     * @param isfdMetadata
     * @param params
     * @return
     */
    @Override
    public List<Map<String, Object>> getTreeNodeDetail(IsfdMetadata isfdMetadata, String[] params) {
        return new ArrayList<>();
    }

    /**
     * 通过参数查询树形结构节点数据
     * @param isfdMetadata
     * @param queryParams
     * @return
     */
    @Override
    public List<Map<String, Object>> getNodeDataByParams(IsfdMetadata isfdMetadata, Map<String, Object> queryParams) {
        return null;
    }

    /**
     * 通过类型统计数据
     *
     * @param isfdMetadata
     * @return
     */
    @Override
    public List<MaterialCountObjectVo> countByType(IsfdMetadata isfdMetadata) {
        return null;
    }
}
